package immutablecollections.misc;

import java.io.*;

public class ExceptionUtils
{

    public static String toString(Throwable throwable)
    {
        StringWriter sr = new StringWriter();

        throwable.printStackTrace(new PrintWriter(sr, true));

        return sr.toString();
    }

}
